{
 "cells": [
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Import and Export Public Semantic Segmentation Data\n",
    "\n",
    "[![Jupyter Notebook](https://img.shields.io/badge/jupyter-%23FA0F00.svg?style=for-the-badge&logo=jupyter&logoColor=white)](https://github.com/openvinotoolkit/datumaro/blob/develop/notebooks/14_import_export_seg_data.ipynb)\n",
    "\n",
    "In this notebook, we turn to import and export segmentation data through Datumaro.\n",
    "\n",
    "## Import Cityscapes data\n",
    "\n",
    "Cityscapes is one of the most popular benchmarking data in semantic segmentation tasks. \n",
    "\n",
    "This provides both fine-grained and coarse ground truths of having pixel-wise classification, i.e., every pixel is annotated into a class between total 20 categories.\n",
    "\n",
    "You can download this for free [here](https://www.cityscapes-dataset.com/dataset-overview/)!"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['cityscapes']\n",
      "Dataset\n",
      "\tsize=5000\n",
      "\tsource_path=cityscapes\n",
      "\tmedia_type=<class 'datumaro.components.media.Image'>\n",
      "\tannotated_items_count=5000\n",
      "\tannotations_count=45729\n",
      "subsets\n",
      "\ttest: # of items=1525, # of annotated items=1525, # of annotations=1525, annotation types=['mask']\n",
      "\ttrain: # of items=2975, # of annotated items=2975, # of annotations=37698, annotation types=['mask']\n",
      "\tval: # of items=500, # of annotated items=500, # of annotations=6506, annotation types=['mask']\n",
      "infos\n",
      "\tcategories\n",
      "\tlabel: ['road', 'sidewalk', 'building', 'wall', 'fence', 'pole', 'trafficlight', 'trafficsign', 'vegetation', 'terrain', 'sky', 'person', 'rider', 'car', 'truck', 'bus', 'train', 'motorcycle', 'bicycle', 'background']\n",
      "\tmask: []\n",
      "\n"
     ]
    }
   ],
   "source": [
    "from datumaro.components.environment import DEFAULT_ENVIRONMENT\n",
    "from datumaro.components.dataset import Dataset\n",
    "\n",
    "cityscapes_path = \"cityscapes\"\n",
    "\n",
    "detected_formats = DEFAULT_ENVIRONMENT.detect_dataset(cityscapes_path)\n",
    "print(detected_formats)\n",
    "\n",
    "cityscapes_dataset = Dataset.import_from(cityscapes_path, detected_formats[0])\n",
    "print(cityscapes_dataset)"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Import ADE20K data\n",
    "\n",
    "We now turn to import another public semantic segmentation data ADE20K.\n",
    "\n",
    "This is also open to the public for free. Click [here](https://groups.csail.mit.edu/vision/datasets/ADE20K/)!"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['ade20k2020']\n",
      "Dataset\n",
      "\tsize=27574\n",
      "\tsource_path=ADE20K_2021_17_01/images/ADE/\n",
      "\tmedia_type=<class 'datumaro.components.media.Image'>\n",
      "\tannotated_items_count=27574\n",
      "\tannotations_count=1752558\n",
      "subsets\n",
      "\ttraining: # of items=25574, # of annotated items=25574, # of annotations=1576969, annotation types=['polygon', 'mask']\n",
      "\tvalidation: # of items=2000, # of annotated items=2000, # of annotations=175589, annotation types=['polygon', 'mask']\n",
      "infos\n",
      "\tcategories\n",
      "\tlabel: ['wall', 'window', 'podium', 'altar', 'ceiling', 'vault', 'column', 'floor', 'bench', 'seats', 'capital', 'shaft', 'base', 'cross', 'staircase', 'railing', 'steps', 'pendant lamp', 'mezzanine', 'door', 'plant', 'candle', 'sculpture', 'pulpit', 'candelabra', 'aquarium', 'plants', 'person', 'head', 'eye', 'mouth', 'right arm', 'right hand', 'left arm', 'left hand', 'right leg', 'right foot', 'left leg', 'left foot', 'sign', 'hair', 'back', 'fence', 'fish', 'rocks', 'text', 'gate', 'people', 'columns', 'console', 'gaze', 'neck', 'shark', 'shoal', 'water', 'jellyfish', 'cabinet', 'table', 'keyboard', 'sky', 'building', 'backpack', 'paper', 'plant pot', 'jacket', 'sidewalk', 'street light', 'umbrella', 'penguin', 'algae', 'trees', 'car', 'tree', 'arcades', 'fluorescent tube', 'buildings', 'semi-flush mount light', 'van', 'trash can', 'road', 'bag', 'shop window', 'brand name', 'air conditioning', 'awning', 'ground', 'bulletin board', 'muntin', 'pane', 'handrail', 'chair', 'purse', 'cakes', 'scarf', 'bookcase', 'binders', 'box', 'shelves', 'book', 'file box', 'file boxes', 'index card', 'index cards', 'folder', 'books', 'filing cabinet', 'picture', 'light troffer', 'torso', 'shelf', 'top', 'side', 'front', 'binder', 'boxes', 'videos', 'hole puncher', 'papers', 'glasses case', 'glasses', 'notebook', 'clock', 'rail', 'stile', 'sash', 'casing interior', 'frame', 'face', 'hand', 'ladder', 'computer case', 'monitor', 'desk', 'screen', 'computer', 'drawer', 'handle', 'double door', 'wall spotlight', 'swivel chair', 'leg', 'armrest', 'seat', 'projection screen', 'showcase', 'floor lamp', 'paper rack', 'briefcase', 'door frame', 'fluorescent tubes', 'rifle', 'haversack', 'chest', 'bomb', 'machine gun', 'rifles', 'ceiling recessed light', 'air vent', 'ceiling spotlight', 'outlet', 'hinge', 'knob', 'lock', 'grille', 'board', 'drawing', 'light switch', 'step', 'sofa', 'painting', 'poster', 'armchair', 'arm', 'wheel', 'pedestal', 'pictures', 'counter', 'brochure', 'easel', 'ceiling fan', 'canopy', 'tube', 'motor', 'blade', 'television', 'stand', 'skylight', 'test', 'divider', 'wheelchair', 'sconce', 'bulb', 'fire extinguisher', 'pipe', 'ceiling spotlights', 'flowers', 'radiator', 'candle holder', 'stone', 'chandelier', 'carpet', 'beam', 'lower sash', 'upper sash', 'sprinkler', 'ottoman', 'stool', 'vase', 'ear', 'blind', 'microphone', 'pen', 'bottle', 'glass', 'bowl', 'card', 'names', 'sink', 'faucet', 'mirror', 'paper cups', 'paper cup', 'papr cup', 'pitcher', 'ballon', 'ballons', 'grass', 'curtain', 'side table', 'flowerpot', 'shell', 'canvas', 'basket', 'mug', 'brushes', 'brush', 'desk lamp', 'coffee cup', 'opening', 'stem', 'cap', 'paper towels', 'stretcher', 'paintbrush', 'jar', 'sketch', 'shirt', 'pot', 'calendar', 'palette', 'rule', 'goggles', 'label', 'toothpick', 'scissors', 'crafts', 'glue', 'gliue', 'plug', 'pliers', 'welder', 'flush mount light', 'diploma', 'basin', 'exhibitor', 'nose', 'drawing table', 'laptop', 'piston', 'paper rolls', 'roll', 'bucket', 'paint brushes', 'platform', 'scaffolding', 'tin', 'potters wheel', 'plate', 'cooker', 'chest of drawers', 'bass drum', 'lithograph', 'fluorescent', 'backplate', 'light source', 'highlight', 'wardrobe', 'can', 'pencils', 'white coat', 'paint box', 'canister', 'oil', 'spray', 'trestle', 'loft', 'hat', 'dog', 'jars', 'cds', 'speaker', 'music system', 'folding screen', 'apron', 'cup', 'cutter', 'cushion', 'wall spotlights', 'loom', 'textile loom', 'paintings', 'tray', 'arm support', 'rug', 'seat cushion', 'tins', 'plane', 'extractor hood', 'lid', 'shade', 'diffusor', 'dress', 'shoe', 'guitar', 'notice', 'aperture', 'scotch tape', 'paper roll', 'spoon', 'statue', 'trolley table', 'towel', 'cloth', 'dummy', 'spindle', 'blanket', 'dvd', 'fan', 'stall', 'rack', 'chinese lantern', 'trays', 'switch', 'photo machine', 'blackboard', 'notebooks', 'metal shutter', 'hose', 'stove', 'trestles', 'lectern', 'back pillow', 'inside arm', 'outside arm', 'console table', 'workbench', 'canvases', 'lathe', 'toy', 'planer', 'circular saw', 'projector', 'plank', 'shavings', 'cabinets', 'aerial', 'table lamp', 'bed', 'drill bits', 'diffuser', 'chain', 'file cabinet', 'magazines', 'post-it', 'chair desk', 'telephone', 'botijo', 'ceramics', 'figurine', 'thermostat', 'model', 'ribbon', 'ribbons', 'clay', 'bell', 'ice cream', 'plastic cup', 'heater', 'coffee table', 'bicycle', 'paint bucket', 'folders', 'hangers', 'dresser', 'refrigerator', 'frames', 'pillow', 'fireplace', 'seat base', 'mattress', 'h-stretcher', 'microwave', 'range', 'bar', 'tread', 'riser', 'panel', 'ice maker', 'button panel', 'dial', 'oven', 'stuffed animal head', 'metal piping', 'sliding door', 'curtain rod', 'carper', 'billiard table', 'table tenis', 'dartboard', 'ball', 'sideboard', 'puff', 'cat', 'flower', 'stage', 'flag', 'piano', 'mouse', 'camera', 'chairs', 'fax machine', 'box stands', 'pencil case', 'ceiling re', 'grand piano', 'pit', 'spotlight', 'baptismal font', 'baptistry', 'font', 'stone wall', 'symbol', 'balustrade', 'balcony', 'dome', 'gear', 'gas cylinder', 'berth', 'pyramid', 'tomb', 'niche', 'headstone', 'hut', 'stones', 'embankment', 'tapestry', 'ruins', 'dustpan', 'scraper', 'embrasure', 'benches', 'altarpiece', 'organ', 'rose window', 'catwalk', 'runway', 'floor spotlight', 'candles', 'doors', 'score', 'coat', 'banner', 'pack', 'cell phone', 'lighter', 'tissue pack', 'cup paper', 'tissue box', 'clothes', 'desks', 'closet', 'toys', 'display board', 'work coat', 'garland', 'file', 'globe', 'mobile', 'map', 'drawing tables', 'lockers', 'television stand', 'bidon', 'work surface', 'set office', 'printer', 'white board', 'school desk', 'sckool desk', 'scool desk', 'sscool desk', 'clothespin', 'rope', 'schoo desk', 'magazine', 'stuffed bird', 'trophy', 'desk organizer', 'compter', 'watermelon', 'mechanism', 'spotlights', 'arm panel', 'skirt', 'pillar', 'knife', 'fork', 'napkin', 'confessional booth', 'thermos', 'witness stand', 'seating', 'security camera', 'baby chair', 'number', 'cradle', 'coffin', 'torchiere lamp', 'earmuffs', 'planks', 'broom', 'cannon', 'pole', 'barrel', 'boat', 'cells', 'bars', 'units', 'cell door', 'plaque', 'grille door', 'door bars', 'cell', 'toilet', 'stick', 'box jury', 'house', 'fruit', 'folding door', 'rocking chair', 'rocker', 'teapot', 'rudder', 'anchor', 'heart', 'recorder', 'abacus', 'slide', 'mat', 'water can', 'casserole', 'mask', 'tap', 'dropper', 'centrifuge', 'teeth', 'sweater', 'flask', 'extractor fan', 'microscope', 'sash lock', 'wallet', 'panes', 'tile', 'id', 'ashtray', 'paprs', 'tables', 'first floor', 'name', 'notebokk', 'trolley', 'elevator', 'chess', 'brochures', 'christmas tree', 'puzzle', 'plant pots', 'autopsy table', 'cold storage', 'cold storage door', 'decorative glass', 'mosque', 'arch', 'railings', 'grandfather clock', 'entrance', 'stalls', 'shoes', 'airplane', 'machine', 'skeleton', 'colour board', 'shutter', 'tower', 'monitors', 'stairs', 'modern art', 'saxophone', 'music machine', 'music control table', 'music devices', 'compact discs', 'mousepad', 'cassettes', 'graphic equalizer', 'synthesizer', 'suitcase', 'guitar cover', 'tripod', 'drums', 'music stand', 'headphones', 'wire', 'cd stand', 'remote control', 'television camera', 'record player', 'keys', 'loudspeaker', 'power', 'equalizer', 'strip', 'clarinet', 'cumputer', 'keyboaard', 'mineral', 'bones', 'elephant', 'bird', 'animal', 'antlers', 'skull', 'bone', 'skulls', 'planetarium', 'cake', 'idol', 'pantheon', 'model dinosaur', 'file cabinets', 'shrine', 'fruits', 'trolley crane', 'light tower', 'violin', 'material', 'microph', 'ramp', 'lighting', 'amphitheater', 'throne', 'coat of arms', 'ticket booth', 'ticket window', 'mountain', 'shanties', 'shanty', 'pylon', 'path', 'ring binder', 'hanger', 'voting booth', 'ballots', 'voting instructions', 'judge table', 'secretary table', 'night table', 'manchette', 'headboard', 'sill', 'casing', 'receiver', 'bathtub', 'firewood', 'sheves', 'hot tub', 'tank', 'key', 'packet', 'gloves', 'brick', 'package', 'kettle', 'wood', 'clothes rack', 'footboard', 'moulding', 'side rail', 'sneaker', 'sneakers', 'boot', 'pulley', 'sugar bowl', 'radio', 'towels', 'iron', 'hair dryer', 'safes', 't-shirt', 'flip flop', 'spray bottle', 'plastic', 'cardboard', 'suit hanger', 'duvet', 'portable fridge', 'ceiling lamp', 'blankets', 'beds', 'toilet paper', 'sheet', 'boiler', 'washing machine', 'tumble dryer', 'shower stall', 'shower screen', 'table football', 'table tennis', 'magazine rack', 'corner pocket', 'folding chair', 'tele vision', 'dvd player', 'teddy', 'pipelines', 'piprlinrd', 'water vapor', 'countertop', 'watercraft', 'shower', 'cistern', 'toilet brush', 'towel rack', 'soap', 'tank lid', 'soap dispenser', 'dish', 'soaps', 'ceramic pot', 'sponge', 'pool', 'toothbrush', 'bathrobe', 'wall recessed light', 'slippers', 'flusher', 'leaves', 'soap dish', 'tissue', 'towel ring', 'rop', 'bidet', 'toilet paper holder', 'wall mount', 'rod', 'sockets', 'pots', 'bath sponge', 'towel dispenser', 'slipper', 'trunk', 'scales', 'sponges', 'soap bottle', 'vanity', 'figure', 'tap wrench', 'overflot plate', 'legs', 'drain', 'faucet drain lever', 'cream', 'bow', 'drain pipe', 'toothpaste', 'vent', 'hairbrush', 'razor', 'towel radiator', 'towel rail', 'tissue dispenser', 'bottles', 'sea star', 'toilet paper roll', 'shaving brush', 'shower curtain', 'coffee maker', 'rings', 'bouquet', 'drain plug', 'deodorant', 'window scarf', 'post', 'umbrella stand', 'buttons', 'slates', 'head rail', 'exercise machine', 'nail brush', 'shower door', 'foam', 'ironing board', 'toilet bag', 'toilet paper rolls', 'trap door', 'soap bar', 'newspaper', 'shampoo', 'molding', 'watering can', 'coaster', 'water valve', 'float', 'shower tray', 'shower faucet', 'sandal', 'saucepan', 'shower shelf', 'valve', 'powder', 'toilet kit', 'partition wall', 'comb', 'toilet set', 'shower head', 'bathroom tiles', 'floot', 'paper towels box', 'electric toothbrush', 'matchbox', 'widow', 'shower room', 'night light', 'clamp lamp', 'clamp', 'ceramic box', 'paper clip', 'trousers', 'flyscreen', 'cover curtain', 'teacup', 'cord', 'gutter', 'leaf', 'single hung', 'helmet', 'racket', 'sport bag', 'socket', 'sheets', 'decoder', 'slats', 'strawberries', 'rocking horse', 'sea water', 'sofa bed', 'binoculars', 'balls', 'blinds', 'coffee pot', 'doll', 'bed column', 'canlendar', 'flashlight', 'alarm clock', 'bedspread', 'threshold', 'support', 'stereo', 'necklace', 'earrings', 'bracelet', 'clothing', 'casket', 'side jamb', 'interior casing', 'throw', 'clock radio', 'oar', 'chimney', 'shovel', 'poker', 'fishing pole', 'cool box', 'eyeglasses', 'comforter', 'mirror support', 'cover', 'wireless', 'hook', 'fire', 'ice bucket', 'tallboy', 'closure', 'quilt', 'branch', 'deck chair', 'palm tree', 'orange', 'swimming pool', 'bedpost', 'pottery', 'branches', 'wicker basket', 'cane', 'dressing table', 'curtains', 'spread', 'welcome card', 'land', 'truckle bed', 'half moon', 'net', 'cow', 'deer', 'box spring', 'switches', 'fringe', 'chaise lounge', 'smoke detector', 'electronic organ', 'upper', 'menu', 'showerhead', 'caca', 'herb', 'digital clock', 'placard', 'distaff', 'power strip', 'cpu', 'tablecloth', 'art', 'tissues', 'dish rack', 'glass box', 'lampshade', 'fireplace utensils', 'well', 'pinecone', 'appliance', 'ornament', 'notepad', 'sleeping robe', 'dressing screen', 'skating boots', 'baseboard', 'phone charger', 'pad of paper', 'stands', 'dog dish', 'small table', 'watch', 'wooden overhang', 'fur', 'suitcases', 'sticker', 'asdf', 'button', 'extractor pipe', 'files', 'webcam', 'envelope', 'handbag', 'sock', 'joist', 'star', 'sweaters', 'socks', 'decor', 'curtain cover', 'desk chair', 'night ttable', 'windwo', 'shade translucent', 'apple', 'harpoon', 'puf', 'traverse', 'tureen', 'potty', 'sand beach', 'dlooe', 'sliding doors', 'sutter', 'nordic comforter', 'decoration', 'chais', 'cage', 'bed runner', 'teddy bear', 'bunk', 'floor recessed light', 'hammock', 'windows', 'cushions', 'bow window', 'dishwasher', 'food processor', 'pendant plant', 'botlle', 'knife set', 'dishcloth', 'maracas', 'tricycle', 'block', 'blocks', 'hammer', 'train', 'helicopter', 'steering wheel', 'carousel horse', 'safety rail', 'club', 'cube', 'mural', 'laundry basket', 'pens', 'moon decoration', 'bunk bed', 'cockpot', 'jackets', 'skirts', 'shirts', 't-shirts', 'dresses', 'drill', 'boots', 'closet rod', 'belt', 'ties', 'blouse', 'coats', 'sweatshirt', 'heel shoe', 'tie', 'sokcs', 'flip flops', 'snow', 'pepper', 'pet dish', 'place mat', 'dog bed', 'napkins', 'tassle', 'decanter', 'bottle rack', 'fruit bowl', 'plates', 'napkin ring', 'valance', 'centerpiece', 'table cloth', 'body', 'filter', 'table runners', 'cello cover', 'birdcage', 'salt and pepper', 'doily', 'strawberry', 'saucers', 'lantern', 'kitchen island', 'barbecue', 'food', 'bread', 'canes', 'cutlery', 'mortar', 'logs', 'mitten', 'runner cloth', 'plate mat', 'surfboard', 'football', 'baseball', 'vases', 'table runner', 'chopstick', 'mantle', 'foot rest', 'pool ball', 'butter dish', 'wine rack', 'gravy boat', 'log', 'andiron', 'flame', 'decorative wood', 'gourd', 'jug', 'wood art', 'cruet', 'cove', 'goblet', 'urn', 'platter', 'salt', 'bowls', 'pine decoration', 'fabric', 'saltcellar', 'cards', 'video', 'napkin rack', 'coat rack', 'counters', 'table mat', 'fire utensils', 'light switches', 'bascket', 'toaster', 'cereal dispenser', 'vasse', 'pepper shaker', 'piture', 'glass separation', 'ceramic hob', 'dvds', 'colum', 'grapes', 'oil lamp', 'plat', 'knige', 'cruet set', 'flowrs', 'postcard', 'sauceboat', 'coral', 'pear', 'feeding bottle', 'photo album', 'vanity bag', 'sports bag', 'peaked cap', 'bedspring', 'contact lens case', 'padlock', 'plastic cups', 'sleeping bag', 'tape', 'buttocks', 'clamp spotlight', 'blender', 'seal', 'otlet', 'swatshirt', 'bottle pack', 'bananas', 'dvd box', 'jack', 'clothes hanging', 'chothing', 'motorbike', 'arcade machine', 'carousel', 'ticket vending machine', 'cue', 'pinball', 'pool balls', 'side pocket', 'slot machines', 'paddle', 'cues', 'amphora', 'tennis table', 'ping pong paddle', 'scoreboard', 'ball storage', 'slot machine', 'table game', 'footrest', 'chalk', 'steps machine', 'vending machine', 'juke box', 'puppet', 'gaming table', 'chips', 'rowing machine', 'rack cue', 'wheelbarrow', 'machines', 'garage door', 'rim', 'toolbox', 'boards', 'windshield', 'headlight', 'make', 'taper', 'tractor', 'pigeonhole', 'treadmill', 'vacuum cleaner', 'cars', 'hedge', 'tools', 'engine', 'paint can', 'cans', 'skate', 'elevator door', 'pile of junk', 'porexpan board', 'rake', 'metal shutters', 'taillight', 'license plate', 'bumper', 'skateboard', 'wire mower', 'rack tool', 'screwdriver', 'skis', 'golf bag', 'rackets', 'skates', 'secateurs', 'logo', 'cable', 'ax', 'paint pot', 'junk', 'tool kit', 'chainsaw', 'vest', 'tulipa', 'writing desk', 'paper weight', 'pen box', 'pad', 'cords', 'power cord', 'scanner', 'screem', 'phone fax', 'cd stack', 'scratching post', 'rock', 'paper filer', 'miniature chair', 'typewriter', 'rolls', 'sticks', 'clip', 'vessel', 'compas', 'external drivers', 'pencil cup', 'telescope', 'pencil', 'back control', 'calculator', 'folded box', 'stapler', 'dvds box', 'cds box', 'dvds rack', 'hard drive', 'pen set', 'transformer', 'joystick', 'guillotine', 'photocopier', 'lever', 'kit', 'butterfly', 'control', 'pot pen', 'video camera', 'telephone booth', 'guitar case', 'tape measure', 'baskets', 'blinder', 'strip light', 'sound equipment', 'duster', 'creamer', 'coffee', 'skirting board', 'hotel safe', 'baby carriage', 'right shoulder', 'left shoulder', 'shorts', 'dried flowers', 'telepho', 'bed trolley', 'photo', 'stuffed animal', 'burner', 'frying pan', 'gripper', 'skimmer', 'hotplate', 'utensils canister', 'cutting board', 'squeezer', 'spout', 'crock', 'spice rack', 'grater', 'spices rack', 'coffee grinder', 'dishcloths', 'can opener', 'bread lift', 'bread slot', 'pan', 'cup maker', 'ladle', 'spoons', 'pot rack', 'cake mold', 'wreath', 'whisk', 'nuts', 'spatula', 'egg', 'bin', 'utensils rack', 'water dispenser', 'magnet', 'latch', 'water cooler', 'baseboards', 'mop handle', 'pipes', 'breadbasket', 'stopper', 'wok', 'display', 'trash bag', 'plate rack', 'dispenser', 'mug holder', 'bread box', 'wooden cutlery', 'utensils', 'weight', 'foot', 'overhang', 'paper napkins', 'dish soap', 'slow cooker', 'raw disposal basket', 'salt pepper cellar', 'kitchen utensils', 'vegetables', 'strainer', 'pet bowl', 'tomato', 'pumpkin', 'oranges', 'dish towel', 'straws', 'cups', 'garlic', 'mixer', 'plates rack', 'small chair', 'forks', 'push buttons', 'towel paper', 'spatulas', 'grinder', 'sliding', 'umbrella rack', 'detergent dispenser', 'lemon', 'coffee cup rack', 'avocados', 'head jamb', 'funnel', 'folding table', 'mill', 'hanging utensils', 'container', 'generator', 'controls', 'ceiling decor', 'dishes', 'packets', 'paper napkin', 'pressure cooker', 'pastries', 'dish drainer', 'heating', 'organizer', 'crackers', 'pot holder', 'oil jar', 'vinegar jar', 'grill', 'pot lid', 'dried herbs', 'drapes', 'wooden utensils', 'pinecones', 'knobs', 'paper towels dispenser', 'extension cord', 'hot mitt', 'large fork', 'swiss chard', 'hand bellows', 'intercom', 'pepper grinder', 'spices', 'shaker', 'toaster oven', 'fryer', 'letter mail', 'dipper', 'ipod', 'tablecloths', 'measuring spoons', 'peach', 'large rabbit', 'rabbit', 'bib', 'corkscrew', 'pot of herbs', 'pans', 'onions', 'hot peppers', 'onion', 'pot hanger', 'pressure washer', 'football trophy', 'containers', 'fruit stand', 'sunflower', 'pitchfork', 'peppers', 'wheat', 'slotted spoon', 'twizzlers', 'potted fern', 'tin box', 'island', 'alarm', 'place setting', 'tiles', 'champagne bucket', 'cheese', 'turtle', 'pineapple', 'mirrors', 'buttons panel', 'pestle', 'sauce', 'npkin', 'eggs', 'mug set', 'kitchen', 'cabinetç', 'saw', 'egg cup', 'coasters', 'outet', 'griddle', 'lobster', 'papers roll', 'processing machine', 'cock', 'rolling pin', 'plaate', 'berbiqui', 'oytlet', 'winddow', 'cabomet', 'caabinet', 'worctop', 'cabubet', 'cceiling', 'plae', 'teacups', 'lemons', 'casse', 'bottlr', 'cheese dish', 'dog feeder', 'hotlp', 'doo', 'stoo', 'abinet', 'lettuce', 'paper r', 'chairs lift', 'air freshener', 'teacup set', 'water tank', 'cabine', 'mushroom', 'stools', 'marking pens', 'egg tray', 'copper vessel', 'iron po', 'buns', 'iron pot', 'scoop', 'scourer', 'water filter', 'screw', 'cigarette packet', 'stuffed head', 'special shape', 'grating', 'folding chairs', 'hourglass', 'tilt wand', 'palm trees', 'spiral staircase', 'back cushion', 'shells', 'stringer', 'packages', 'bookend', 'pediment', 'tea set', 'crock rack', 'wood figure', 'vcr', 'deer antler', 'zipper', 'silver bird statue', 'fish tank', 'cd box', 'tapes', 'cd', 'cart', 'piano pedals', 'woodcarving', 'instrument', 'decorations', 'metal decoration', 'coconuts', 'coconut', 'ceiling piece', 'pillows', 'seltzer bottle', 'silver canister', 'bull skull', 'bookends', 'shrub', 'crock pot', 'gramophone', 'canoe', 'checkers table', 'checkers pieces', 'motion detector', 'log holder', 'sewing machine', 'troller', 'mantle piece', 'sculptures', 'notecards', 'music box', 'curtain support', 'swinging seat', 'carpets', 'fax', 'beams', 'drawings', 'painiting', 'rocking', 'stained glass', 'starfish', 'stocking', 'stockings', 'pine decor', 'turntables', 'records', 'jamb', 'dvd players', 'mailbox', 'dumbbell', 'flute', 'light sw', 'xxx', 'drum', 'sade', 'folding doors', 'firewood rack', 'backplaete', 'picnic spot', 'pant', 'barrels', 'caffee table', 'cables', 'dve', 'soundbar', 'cobbles', 'leather', 'floor fan', 'microw', 'signs', 'case', 'wall clock', 'siphon', 'sheets pack', 'sliding rod', 'ourlet', 'snowboard', 'safety side', 'baby walker', 'bassinet', 'balloon', 'crib', 'sweatshirts', 'visor', 'walker', 'training potty', 'pantry', 'coffee cups', 'roller', 'colander', 'salt shaker', 'pastry', 'packs', 'bags', 'frying pans', 'cooler', 'kitchen towel', 'potatoes', 'cork', 'tupper', 'scratcher', 'book rack', 'ornamental box', 'ornaments', 'dollhouse', 'tent', 'carp', 'dppr', 'cue place', 'cue rack', 'hockey table', 'cassette', 'pool bass', 'elliptical machine', 'dryer', 'triangle', 'billiard ball', 'billiard balls', 'pool triangle', 'waall', 'router', 'chess table', 'ches table', 'trowel', 'showers', 'reloj', 'platre', 'televisio', 'cd rack', 'foot rail', 'bed side', 'hill', 'gravel', 'factory', 'smoke', 'freight train', 'field', 'truck', 'advertisement', 'steam shovel', 'roadroller', 'toe board', 'cross bracing', 'roof', 'security cameras', 'traffic light', 'crane', 'digger', 'tool', 'steamroller', 'bulldozer', 'materials', 'footpath', 'bus', 'bushes', 'cabin', 'tarpaulin', 'wooden structure', 'sledgehammer', 'bush', 'parking meter', 'train tracks', 'power showel', 'excavator', 'river water', 'drilling equipment', 'tubes', 'ciment mixer', 'ship', 'dock', 'shipyard', 'tanks', 'dirt track', 'trench', 'earth', 'hole', 'winch', 'pallets', 'hoe', 'sand', 'traffic cone', 'dust', 'demolition house', 'mechanical shovel', 'debris', 'conveyor belt', 'barrier', 'curb', 'central reservation', 'manufacturing plant', 'fumes', 'footbridge', 'blast furnace', 'cloud', 'trash', 'garbage', 'rubbish dump', 'gasworks', 'chimneys', 'industry', 'houses', 'pilon', 'hills', 'buildings factory', 'bridge', 'plastic bottles', 'paath', 'trailer', 'light post', 'pond', 'post light', 'lgiht post', 'manhole', 'wheels', 'junk pile', 'pallet', 'wire mesh', 'car scrapping', 'cars scrapping', 'cars scraping', 'tires', 'scrapping cars', 'tree trunk', 'landfill', 'clouds', 'pile of trash', 'lumber', 'warehouse', 'steel beam', 'crosswalk', 'rung', 'cave entrance', 'erase', 'pavilion', 'parking', 'nuclear reactor', 'tarmac', 'steel wire', 'refinery', 'industrial building', 'metal structure', 'electrical substation', 'electrical plant', 'quonset hut', 'station', 'railway', 'rail track', 'car wreck', 'rubble', 'breakwater', 'stones beach', 'wood wall', 'dam', 'spillway', 'tools box', 'water tower', 'wagon', 'protective railing', 'disposal plant', 'windmill', 'structure', 'caar', 'lagoon', 'sand hill', 'cliff', 'badlands', 'mound', 'shrubs', 'parking lot', 'cliffs', 'canyons', 'barren land', 'woman', 'badlands hills', 'bamboo cane', 'bamboo canes', 'sandals', 'sun', 'seagull', 'mountains', 'sea', 'wave', 'rainbow', 'cloudy sky', 'water surf', 'person sitting', 'pier', 'deck chairs', 'tortoise', 'planats', 'bog water', 'water bog', 'bonsai tree', 'blueberry', 'grassland', 'plateau', 'spire', 'gull', 'duck', 'bollard', 'platns', 'waterfall', 'canyon', 'mountain pass', 'rocky mountains', 'cave', 'stalactite', 'stalactites', 'stalagmite', 'stalagmites', 'rocky ceiling', 'rocky wall', 'rocky ground', 'cavern', 'parachute', 'valley', 'mountain ledge', 'ledge', 'sailboat', 'lighthouse', 'tunnel', 'village', 'straw', 'quay', 'waves', 'lake', 'ice', 'dune', 'silos', 'horse', 'sheep', 'flock of sheep', 'sheep pen', 'animals', 'chicken', 'barn', 'foal', 'river', 'rafting', 'pebbles', 'soil', 'moss', 'foliage', 'jground', 'white water', 'ice wall', 'ice ground', 'crevasse', 'ice mountain', 'glove', 'sand dune', 'weeds', 'semidesert ground', 'desert', 'sand dunes', 'lumps', 'cactus', 'ground shrubs', 'moon', 'desert ground', 'poles', 'backpacks', 'beard', 'escarpment', 'vineyard', 'vine', 'straw bale', 'combine harvester', 'grass field', 'sunflowers field', 'pplant', 'kite', 'puddle', 'slope', 'greenhouse', 'plants shrubs', 'ground sand', 'bee', 'pert', 'deck', 'fish farm water', 'lily pads', 'water lily', 'oilcloth', 'spade', 'milestone', 'nukestibe', 'seaplane', 'undergrowth', 'tree trunks', 'scrubland', 'tree leaves', 'tree top', 'trees top', 'ground leaves', 'stump', 'snow land', 'ski', 'stone path', 'topiary tree', 'tinb', 'bakk', 'riad', 'baseball field', 'parking place', 'iceberg', 'snowy', 'rocky mountain grot', 'grotto', 'pond water', 'rowing', 'hay roll', 'hay rolls', 'hay bale', 'seedbed', 'wind chimes', 'hillside', 'desert field', 'rock formations', 'rocky formations', 'rocky formation', 'meter', 'stumps', 'killer whale', 'floe', 'walrus', 'ice field', 'drift ice', 'sean lion', 'sea lion', 'persons', 'ice shelf', 'glacier', 'sea water ice', 'sleigh', 'expedition', 'water ice', 'rubber boat', 'islet', 'rock formation', 'boats', 'diving goggles', 'swmming pool', 'bandstand', 'pagoda', 'duck shelter', 'fog', 'riverside', 'whitewater', 'lava', 'salt marsh', 'rowing boat', 'tableland', 'ground desert', 'fog bank', 'refuge', 'ski lift', 'forest', 'boulder', 'rock cliff', 'sidewalk cafe', 'track', 'snowy mountain pass', 'cable railway', 'sled', 'rocky plain', 'snowy road', 'snow covered plain', 'snowy trees', ',pimtaom', 'sail', 'buoy', 'fishing rod', 'wave splash', 'dolphin', 'peoples', 'seagul', 'pumpkins', 'goose', 'gooses', 'monolith', 'cows', 'fences', 'equipment', 'pig', 'sty', 'moose', 'goat', 'shack', 'camel', 'livestock', 'pork', 'donkey', 'reaper', 'violin bow', 'observatory', 'ñbench', 'nest', 'stream', 'sack', 'quicksand', 'raft', 'row', 'urbanization', 'trucks', 'shelter', 'beach lake', 'lake house', 'mustache', 'rope bridge', 'skywalk', 'sun deck', 'suspension rope bridge', 'telegraph pole', 'suspension bridge', 'salt plain', 'sandbar', 'savanna', 'zebra', 'scrubs', 'sinkhole', 'airpl', 'hot air balloon', 'snow covered ground', 'snowy ground', 'remote control car', 'sly', 'roks', 'swan', 'topiary trees', 'paving stone', 'animal topiary', 'steet light', 'ree', 'hen house', 'hen', 'tundra', 'antler', 'plane wreckage', 'creek', 'alga', 'diver', 'seaweed', 'ray', '1', 'urban valley', 'clabe car', 'crater', 'water mist', 'gateway', 'ravine', 'plats', 'sstone', 'rioe', 'cliff and waterfall', 'plantas', 'waterfall frozen', 'planat', 'horn', 'tail', 'buoys', 'surf', 'wheat spike', 'boillers', 'furrow', 'office', 'fitting room', 'gas cap', 'hood', 'fender', 'trumpet', 'bread roll', 'bread rolls', 'breads', 'roasting', 'candies', 'cookies', 'price tag', 'cash register', 'cookie', 'bread basket', 'bread tray', 'meat', 'cut slices machine', 'pie', 'loaves', 'tart', 'snuffs', 'biscuit', 'ham', 'sausage', 'olives', 'napking', 'pickle', 'ingots', 'strongroom', 'security door frame', 'security door', 'safe door', 'safe', 'strongbox', 'beer machine', 'billboard', 'head deer', 'armor', 'cocktail shaker', 'mugs', 'rubbish', 'till', 'hairdresser chair', 'hairdressers chair', 'hair spray', 'souk', 'belts', 'lanterns', 'necklaces', 'pendant', 'meat hooks', 'foodstuffs', 'apples', 'blusher brush', 'auxiliary trolley', 'trolley tray', 'razor cut hair', 'washbasin chair', 'spray can', 'cubicle', 'fountain', 'washing hair', 'cape', 'book stand', 'postcards', 'candy', 'exhi', 'àèr', 'bood', 'water machine', 'freezer', 'cutting machine', 'girder', 'meat piece', 'cold store', 'shop', 'hams', 'tongue', 'butchery', 'meat pieces', 'feed', 'sandwich', 'ceiling s', 'chocolates', 'polythene cover', 'goods', 'chocolate', 'candy bag', 'candy track', 'ice cream machine', 'money', 'trellis', 'brochures rack', 'rotisserie', 'earring', 'terminal', 'dice', 'coat stand', 'tops', 'shawl', 'purses', 'pyjamas', 'soccer ball', 'juice machine', 'cubicles', 'sprays', 'tongs', 'saucepans', 'set of pigeonholes', 'sugar', 'sweets', 'sweet', 'veil', 'baby weighs', 'escalator', 'thread', 'fabrics', 'cooks', 'private place', 'shopping cart', 'trash trolley', 'merchandise', 'flavorings', 'shellfish', 'mussels', 'clams', 'wig', 'hairpieces', 'fluoresc', 'goldfish bowl', 'cocoon', 'garlics', 'tray rack', 'propeller', 'cowbell', 'miniature sofa', 'magnifying glass', 'forklift', 'caps', 'scarfs', 'hats', 'feather', 'ice cone', 'wafers', 'cauldron', 'sausages', 'oni', 'accordion', 'sample', 'pendulum', 'ring', 'bracelets', 'kiosk', 'jewelry display', 'sopping cart', 'contrabass', 'banjo', 'harp', 'cello', 'pack of snuff', 'candy bags', 'showc', 'medicines', 'photo backdrops', 'bagpipes', 'whistle', 'flyer', 'badge', 'top support', 'hands', 'garlic cloves', 'earthenware jar', 'fryer basket', 'trolley trays', 'show', 'heel', 'shoelace', 'shops', 'lights', 'baseball glove', 'racks', 'cabbages', 'revolving pass', 'tomatoes', 'pack bags', 'margarine', 'shopping carts', 'milk jug', 'water pump', 'ticket counter', 'cigar box', 'paper dishes', 'swimming costume', 'peaks', 'crockery', 'set square', 'oil tubes', 'exercise bike', 'camcorder', 'barrel rack', 'hoop', 'stave', 'wooden wedge', 'football table', 'arcade machines', 'change machine', 'ticket box', 'booth', 'merry-go-round', 'balloons', 'ride', 'roller coaster', 'fairground ride', 'pavilions', 'roller coaster cars', 'big wheel', 'fairground', 'funfair', 'swing', 'ferris wheel', 'tents', 'trailers', 'park', 'cranes', 'fence rubble', 'boardwalk', 'horse carousel', 'planter', 'wires', 'cable car', 'walkway', 'rocket', 'castle', 'hay stacks', 'tarp', 'squash', 'tinsel', 'christmas lights', 'booths', 'ride structure', 'fairground attraction', 'grandstand', 'ticket office', 'court', 'basketball hoop', 'ice rink', 'goal', 'ice track', 'tablet', 'ice hockey rink', 'hockey rink', 'indoor track', 'obstacle', 'building arena', 'playing field', 'postes', 'pitch', 'running track', 'hurdle', 'medal', 'caravan', 'tennis court', 'inflatable park', 'bottom rail', 'inflatable toy', 'wall re', 'bat', 'basketball court', 'basketball', 'white mark', 'menus', 'disk', 'notice board', 'bleachers', 'ball rack', 'skittle alley', 'banners', 'skittles', 'skittle', 'bowling alley', 'bowling pins', 'bowling alleys', 'gates', 'ball stands', 'bowling ball return', 'skittle alleys', 'ropes', 'boxing gloves', 'punching bag', 'bullring', 'cloak', 'bull', 'terraces', 'bullfighter', 'bonfire', 'truk', 'chip', 'shield', 'hobby-horse', 'models', 'hobby-elephant', 'light bulb', 'circus', 'supporting iron metal', 'floor light', 'card table', 'peak', 'ornamental structure', 'plinth', 'fruit machine', 'video game', 'craps table', 'games table', 'game table', 'light display', 'roulette table', 'roulette', 'shoulder', 'games room', 'big top', 'skyscraper', 'covered wagon', 'sand track', 'clubs', 'golf club', 'golf sticks', 'sand trap', 'golf cart', 'gun', 'target', 'cabins', 'earphones', 'shooting pad', 'supporting metal', 'cases', 'trunks', 'floodlights', 'gazebo', 'fire hydrant', 'fern', 'baloons', 'pergola', 'cymbal', 'golf ball', 'stone slab', 'marker', 'golfer', 'banker', 'golg club', 'stationary bicycle', 'weights', 'horizontal bar', 'asymmetric bars', 'barbell', 'dumbbells', 'treadmills', 'gym machine', 'exercise bench', 'exercise bikes', 'exercise machines', 'pelota court', 'maze', 'lawn mower', 'eyebrow', 'skating rink', 'forecourt', 'mosaic', 'petal', 'drinking fountain', 'labyrinth', 'reel', 'kite string', 'buildigs', 'wsall', 'graund', 'swimming pool ladder', 'trampoline', 'locker', 'poncho', 'steel', 'buckets', 'padlocks', 'sword', 'puff doll', 'strips', 'tiger', 'artificial golf green', 'monkey', 'hippopotamus head', 'golf green', 'playground', 'inflatable bounce game', 'inflatable glove', 'arcade', 'squirrel', 'satellite dish', 'cement', 'game', 'games', 'patio', 'ducks', 'root', 'window rose', 'fags', 'flags', 'monument', 'leash', 'cub', 'swings', 'playground equipment', 'seesaw', 'park gear', 'bounce seat', 'sandbox', 'slides', 'fish structure', 'bicycle rack', 'bear cutout', 'tire seat', 'climbing frame', 'childish games', 'pool bar', 'porch', 'muffin', 'coastline', 'putting green', 'dormer', 'litter basket', 'creeper', 'whip', 'racetrack', 'mobile home', 'race car', 'speedway', 'racing track', 'race circuit', 'umbrellas', 'equestrian obstacle', 'sandpit', 'flowerpots', 'thermometer', 'steam room', 'sauna', 'schoolyard', 'ski slope', 'chair lift', 'ski trail', 'lift', 'snow track', 'doort', 'sky lift', 'soccer goal', 'massage bed', 'floodlight', 'stagelight', 'building materials', 'steam roller', 'stadium', 'starting gate', 'rider', 'starting gate trolley', 'deck boat', 'mast', 'diving board', 'rubber ring', 'handr', 'terrace', 'plant tree', 'tyrees', 'trtees', 'racquet', 'barbed wire', 'velodrome', 'crank', 'volleyball court', 'water chute', 'pala', 'airlock', 'luggage', 'luggage rack', 'check-in-desk', 'screens', 'store', 'moving walkway', 'buttress', 'check-in-desks', 'carts', 'fire alarm', 'pendant lamps', 'glass wall', 'landing track', 'trolleys', 'baggage carts', 'buses', 'wiper', 'ticket machine', 'safety belt', 'rear dash', 'head sport', 'seat belt clipper', 'seat belt', 'dashboard', 'gas pedal', 'brake pedal', 'clutch pedal', 'gearshift', 'glove compartment', 'odometer', 'carport', 'control panel', 'instrument panel', 'flight deck', 'key pad', 'radar screen', 'steering', 'window frame', 'camouflage', 'background', 'cockpit', 'gears', 'switchboard', 'hardware', 'button box', 'ceiling controls', 'control panels', 'harness', 'suit', 'airplanes', 'meters', 'power outlet', 'level', 'seat water', 'menu card', 'swimsuit', 'security cordon', 'hoist', 'service elevator', 'elevator doors', 'separation', 'wood stove', 'bicycles', 'dishrack', 'spice jar', 'wood board', 'papr', 'fuselage', 'landing gear', 'wing', 'stabilizer', 'turbine engine', 'hatch', 'clipboard', 'headrest', 'lower deck', 'recessed light', 'wheelhouse', 'revolving door', 'checkpoint', 'security checkpoint', 'envelopes', 'support pole', 'rails', 'railroad track', 'subway', 'tracks', 'railroad', 'railroad train', 'platf', 'gear shift', 'paddles', 'cinch', 'dunes', 'jam', 'spice', 'bough', 'pants', 'ventilator', 'recycling bin', 'icicle', 'street number', 'torrent water', 'hoof', 'reed', 'stripes', 'posters', 'eaves', 'paperweight', 'driveway', 'courts', 'terrace cafe', 'entry phone', 'mesh guard rail', 'house number', 'ceramic ware', 'handlebar', 'rock wall', 'hip tiles', 'site hut', 'salt and pepper shakers', 'table base', 'silverware', 'traffic marker', 'gangway', 'city', 'parterre', 'grills', 'mop', 'wireless phone', 'power line', 'pilot cockpit', 'megaphone', 'sunglasses', 'hull', 'business card', 'saddle', 'pedal', 'doorbell', 'sheeps', 'sugar packet', 'placecard', 'placecard holder', 'ring bell', 'napkin holder', 'bus station', 'flyers', 'copier', 'filing cabinets', 'business cards', 'ski lift cabin', 'funicular', 'vaulted niche', 'hanging clothes', 'belt rack', 'light pole', 'rest', 'port', 'motorbikes', 'pie spinach', 'finger', 'nail', 'crumb', 'spinach', 'parking space', 'steeple', 'cd shelf', 'street sign', 'motion sensor', 'kayak', 'ceramics box', 'fire escape', 'shore', 'icicles', 'page', 'canal', 'gas station', 'roundabout', 'sping', 'breaker box', 'mausoleum', 'columbarium', 'columbarium niche', 'champagne stand', 'scarecrows', 'cork stopper', 'wipe', 'power lines', 'housing', 'obelisk', 'board game', 'wood blocks', 'bowling pin', 'roof rack', 'antenna', 'guard rail', 'stripe', 'safety net', 'phone jack', 'water spurt', 'laptop bag', 'bud', 'buds', 'ski lift pole', 'ridge tiles', 'maps', 'doorway arch', 'storm sewer', 'telephone pole', 'snowboarder', 'snowboard shape', 'chippings', 'fenders', 'floatation device', 'radar', 'catch', 'bus stop', 'plants pot', 'power box', 'fabric softener', 'petrol pump', 'valley urban', 'water wheel', 'ski stand', 'football stadium', 'shutters', 'drill rig', 'stone ball', 'roots', 'shed', 'tombstone', 'joists', 'street lights', 'swamp', 'paints', 'machinery', 'ditch', 'posts', 'runway strip', 'postcard stand', 'watchtower', 'crate', 'crates', 'aqueduct', 'rakes', 'bookstall', 'veranda awning', 'external driver', 'aircraft carrier', 'red board', 'sacks', 'industrial plant', 'runnel water', 'supplies', 'poster board', 'toll booth', 'sweet peas', 'sulfur mine', 'chorizo', 'chorizos', 'jetty', 'garden', 'barrack buildings', 'mallet', 'camels', 'orchestra', 'hand trolley', 'bar lift', 'sinkhole water', 'weighbridge', 'cargo', 'ridge liles', 'stake', 'remains', 'service station', 'flag pole', 'cigarettes', 'lodge', 'viaduct', 'crane truck', 'sepulcher', 'incense', 'pole sign', 'cylinder', 'adding machine', 'control tower', 'estuary', 'steam vase', 'gas bottle', 'chocolate cakes', 'bakery items', 'lion', 'baby lion', 'walnuts', 'coast', 'baby cheetah', 'lagoon water', 'cooling tower', 'climber person', 'oilfield', 'whale', 'freezing ground', 'rocky island', 'rhinoceros', 'baby rhinoceros', 'snowy hill', 'person swimming', 'incinerator', 'ice floe', 'bear', 'acropolis', 'viewpoint', 'backdrop', 'musical instruments', 'ember', 'barricade', 'butter', 'buffet', 'deck house', 'hens', 'silo', 'trough', 'sacks wall', 'gas well', 'hollow', 'housing project', 'howdah', 'winglet', 'oxygen tank', 'test tube', 'laboratory machine', 'pipette', 'storage jar', 'laboratory machines', 'sign ballon', 'spaceship', 'launch pad', 'millrace', 'quagmire', 'hedge partial', 'lab bench', 'scrub', 'popcorn machine', 'snacks', 'sanck bar', 'notes', 'ski pole', 'pelt', 'sinks', 'dye', 'pelts', 'leathers', 'toll gate', 'grapevine', 'bunch', 'vinery', 'control room', 'urinal', 'paper box', 'water fountain', 'waterscape', 'docks', 'waterway', 'wetland', 'tornado', 'fluorescet tube', 'bear pum', 'gradstand', 'fende', 'pon', 'light aircraft', 'seeds', 'sewer', 'bricks', 'textiles', 'motorbike cart', 'gable', 'channel', '_ñamts', 'p_lant', 'garage', 'pollard', 'sieve', 'pipeline', 'backp', 'freight goods', 'airport cart', 'mobile conveyor', 'belt loader', 'parking entrance', 'tenis court', 'swmming pool lader', 'atm', 'stones wall', 'plant por', 'batting cage', 'tire', 'umbrela', 'sailbo', 'bicycle racks', 'houseboat', 'p', 'housee', 'fireworks', 'ledges', 'suspensions', 'railroad tracks', 'supermarket', 'harbor', 'posters pole', 'gondola', 'channel water', 'sodewañl', 'light', 'wipers', 'fuel can', 'fuel tank', 'camping stove', 'raukubg', 'waññ', 'canal water', 'umbr', 'inflatable doll', 'solar panels', 'castle in ruins', 'church', 'tombstones', 'headstone cross', 'headstones', 'gravestone', 'gravestones', 'tombs', 'lamp', 'finial', 'rainshield', 'lamp housing', 'leave', 'henhouse', 'feeder', 'chick', 'chicks', 'vane', 'roads', 'air machine', 'square', 'covered bridge', 'battlement', 'lattice', '-', 'water ditch', 'sawhorse', 'electricity meter', 'flagstones', 'grpimd', 'truck crane', 'train track', 'orchard', 'amplifier', 'life preserver', 'streetlight', 'fire engine', 'swing door', 'fire truck', 'tree branches', 'fort', 'palisade', 'huts', 'water bell', 'petrol pump hose', 'petrol pumps', 'petrol station', 'fuel station', 'guardhouse', 'missile', 'hangar', 'motorboat', 'motorboats', 'catamaran', 'boar', 'mooring', 'landing gar', 'skids', 'heliport', 'drom', 'helic', 'tanker', 'overpass', 'tubing', 'traffic cones', 'hard shoulder', 'mitra', 'persoon', 'palm', 'statues', 'igloo', 'snowshoe', 'entry', 'roadd', 'ranch', 'stonea', 'kasbah', 'kennels', 'kennel', 'hutch', 'pins', 'ice decoration', 'violoncello', 'tanker aircraft', 'aircraft', 'buiulding', 'concrete mixer', 'street lamp', 'twigs', 'storage', 'lightning', 'light house', 'electric cable', 'skjy', 'exhaust pipe', 'bilding', 'lockgate', 'paht', 'graiting', 'water weel', 'hjouse', 'beach wrap', 'price list', 'santa claus', 'sweet potatos', 'crutch', 'market', 'gatehouse', 'minaret', 'minar', 'sedewalk', 'person1', 'warship', 'dry dock', 'submarine', 'newspapers', 'pack of cigarettes', 'observation tower', 'plans', 'outhouse wc', 'outhouse', 'oyster bank', 'battlements', 'bulstrade', 'pant pot', 'paslm tree', 'trash bags', 'carriage', 'walking stick', 'bulbs', 'statue piller', 'scooter', 'cone', 'groundd', 'offering', 'floating bridge', 'railway tie', 'train racks', 'wagons', 'railway yard', 'railways', 'shears', 'sugb', 'cigarette', 'toy train', 'siver water', 'restroom', 'arc', 'solar energy', 'greehouse', 'ubrella', 'bmw', 'water hole', 'red light', 'yellow light', 'green light', 'landing tracks', 'premade house', 'quonset huts', 'flower basket', 'solar panel', 'hall', 'skyscrapers', 'traffic lights', 'weathervane', 'lamp post', 'sky scraper', 'sculpture of the globe', 'scyscraper', 'sky scrapers', 'shantytown', 'slum shanties', 'shacks', 'dolmen', 'dolmens', 'eat', 'bike path', 'street box', 'movie poster', 'grid', 'fuel pump', 'curbstone', 'sewer drain', 'bracket', 'drain vent', 'electricity box', 'gas heater', 'grate', 'power point', 'power meter', 'utility panel', 'utility box', 'gas meter', 'housing lamp', 'menu display', 'knocker', 'lamps', 'skip', 'iron cross', 'cornice', 'stilt', 'utility panels', 'piping', 'highway bridge', 'construction equipment', 'piper', 'wood box', 'shoe rack', 'garage doors', 'curb cut', 'pipe drain', 'storm drain', 'rain gutter', 'hoarding', 'meter box', 'porch rail', 'mannequin', 'turnbuckle', 'fire alarm box', 'sweep', 'ice creme stand', 'mailboxes', 'sun room', 'security light', 'steel box', 'rain pipe', 'pub front', 'trolly', 'underground station', 'numbers', 'butane gas cylinder', 'entrance parking', 'rain drain', 'food cart', 'sewer cover', 'shopping bag', 'bildings', 'postbox', 'tag', 'buzzer', 'clothing rack', 'tank top', 'necklace display', 'street market', 'card display', 'sphere', 'fire bell', 'bycicle carriage', 'street grate', 'plant stand', 'storage box', 'post box', 'underground', 'work hut', 'bitch', 'newspaper stand', 'fire booth', 'postcard display', 'bicycle path', 'necktie', 'rescue float', 'printed matter', 'balcony covered', 'half globe', 'boat stop', 'smoke escape', 'troller bin', 'knives', 'street wires', 'ssign', 'tramway', 'buggy', 'japanese lantern', 'temple', 'mountain terraces', 'toll plaza', 'bell tower', 'laundry', 'ad', 'locomotive', 'underpass', 'trestle bridge', 'aviary', 'plant box', 'caterpillar', 'boat trolley', 'vine shoot', 'bunch grapes', 'water mill', 'blades', 'ziggurat', 'building ziggurat', 'work table', 'railway engine', 'piece', 'pieces', 'switch box', 'pillars', 'car wash', 'industrial robot', 'production line', 'multiple socket', 'spanner', 'chains', 'pig tail', 'dvd boxes', 'electrical device', 'deer head', 'deer skull', 'brewery', 'vintage bottle filler', 'microbrewery', 'hai', 'cloth material', 'test tubes', 'precision balance', 'coop', 'birds', 'laboratory equipment', 'safety suit', 'support beam', 'semi-flush mount lights', 'panelling', 'panels', 'place card', 'runner', 'sealing tape', 'mace', 'award', 'awards', 'projector rack', 'fluorescent bulb', 'vhsit', 'chairr', 'bottl', 'spoo', 'raidator', 'control cabinet', 'computer console', 'control table', 'instrument control', 'ventilation shaft', 'hanger hook', 'fire hose', 'shoji screen', 'message board', 'exit sign', 'light sosurce', 'boaard', 'office partition', 'hay', 'trophies', 'developing machine', 'set of instruments', 'reclining chair', 'dental chair', 'articulated lamp', 'cd player', 'tooth cleaner', 'dental sink', 'dental swivel chair', 'professional degree', 'alembic', 'powder compact', 'makeup', 'toilete kit', 'call buttons', 'name plate', 'counterweight', 'furnace room', 'pressure gauge', 'forge', 'mold', 'anvil', 'iron bar', 'furnace', 'steel chair', 'manometer', 'hosepipe', 'netting', 'plastic sheet', 'hatchery', 'straw bales', 'hearth', 'x-rays', 'x-rays bed', 'medical machine', 'cages', 'washing machines', 'tumble dryers', 'clothesline', 'paper dispenser', 'clock face', 'moon dial', 'clocks', 'measurer', 'mail boxes', 'ceiling rec', 'fireplaace', 'division', 'newspaper rack', 'directory', 'plam tree', 'steel industry', 'ceukubg', 'sisde table', 'metal profiles', 'incubator', 'offices', 'iv bag', 'mine', 'torch', 'pen holder', 'mixing board', 'in box', 'video-tape', 'box-file', 'paperpile', 'spectacle-case', 'pencil sharpener', 'postal card', 'disk spindle', 'sticky tape dispenser', 'note', 'desk mat', 'screen stand', 'garment bag', 'mouse stand', 'comic strip', 'paper file', 'workstation', 'certificate', 'disks', 'file organizer', 'self', 'pingeonhole', 'electronic devise', 'separator', 'operation table', 'tensiometer', 'phonends', 'cyclotron', 'pigsty', 'feeding trough', 'degree certificate', 'keyboards', 'recycling materials', 'rolling mill', 'gear wheel', 'server', 'servers', 'sewing box', 'threads', 'stables', 'bolt', 'yoke', 'stable', 'handrair', 'fernce', 'compueter', 'ventilator shaft', 'radiography', 'stethoscope', 'syringe', 'cotton', 'office window', 'cream tube', 'visit cards', 'screws box', 'material rolls', 'cut table', 'wrenches', 'spanners', 'gauge', 'press', 'screwdrivers', 'trolley basket', 'trolley drawers', 'weapons', 'weapon', 'paint brush', 'oil tube', 'art mannequin', 'segment', 'chairs desk', 'musicians place', 'rose', 'window latch', 'doble door', 'tuner', 'lamp cord', 'clothes stand', 'telephone directories', 'tennis racket', 'place mats', 'sealing roll', 'multiple plug', 'boomerang', 'bonnet', 'id card', 'rubber glove', 'fire blanket', 'andirons', 'crane scrapping', 'recycling plant', 'suspenders', 'wind turbines', 'wind turbine', 'marsh water', 'beer pump', 'minced meat', 'meat bag', 'meat bags', 'label tag', 'slicer', 'backdrops', 'inflatable train', 'balls rack', 'solt machine', 'step machine', 'pectoral machine', 'lance', 'nunchaku', 'caravans', 'compartment', 'laminating machine', 'linens', 'clothes horse', 'recycling trash', 'textile mill', 'ears', 'autoclave', 'slat', 'street name', 'ride tiles', 'pick', 'revolving doors', 'crosses', 'outboard motor', 'walkie talkie', 'pigeon', 'stained-glass window', 'gap', 'oriental lantern', 'storm grate', 'verandah', 'shape', 'utility cover', 'utility covers', 'bridges', 'trolley tools', 'slice', 'storage rack', 'string', 'hanging instrument', 'dental instruments', 'system', 'chute', 'saline solution', 'mountain salt', 'massage table', 'drawing board', 'portfolio', 'industrial machine', 'hand dryer', 'reels', 'iron tubes']\n",
      "\n"
     ]
    }
   ],
   "source": [
    "ade20k_path = \"ADE20K_2021_17_01/images/ADE/\"\n",
    "\n",
    "detected_formats = DEFAULT_ENVIRONMENT.detect_dataset(ade20k_path)\n",
    "print(detected_formats)\n",
    "\n",
    "ade20k_dataset = Dataset.import_from(ade20k_path, detected_formats[0])\n",
    "print(ade20k_dataset)"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Export ADE20K data into Cityscapes data format\n",
    "\n",
    "We now export the imported ADE20K dataset into Cityscapes format as we showed for in the [previous notebook example](https://github.com/openvinotoolkit/datumaro/blob/develop/notebooks/14_import_export_det_data.ipynb).\n",
    "\n",
    "Because of the large size of entire ADE20K dataset, we are going to export only the validation set into Cityscapes data format below."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "ade20k_val_dataset = ade20k_dataset.get_subset(\"validation\").as_dataset()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Original Cityscapes data format\n",
      "\u001b[01;34m./ADE20K_2021_17_01/images/ADE\u001b[00m\n",
      "├── \u001b[01;34mtraining\u001b[00m\n",
      "│   ├── \u001b[01;34mcultural\u001b[00m\n",
      "│   ├── \u001b[01;34mhome_or_hotel\u001b[00m\n",
      "│   ├── \u001b[01;34mindustrial\u001b[00m\n",
      "│   ├── \u001b[01;34mnature_landscape\u001b[00m\n",
      "│   ├── \u001b[01;34mshopping_and_dining\u001b[00m\n",
      "│   ├── \u001b[01;34msports_and_leisure\u001b[00m\n",
      "│   ├── \u001b[01;34mtransportation\u001b[00m\n",
      "│   ├── \u001b[01;34munclassified\u001b[00m\n",
      "│   ├── \u001b[01;34murban\u001b[00m\n",
      "│   └── \u001b[01;34mwork_place\u001b[00m\n",
      "└── \u001b[01;34mvalidation\u001b[00m\n",
      "    ├── \u001b[01;34mcultural\u001b[00m\n",
      "    ├── \u001b[01;34mhome_or_hotel\u001b[00m\n",
      "    ├── \u001b[01;34mindustrial\u001b[00m\n",
      "    ├── \u001b[01;34mnature_landscape\u001b[00m\n",
      "    ├── \u001b[01;34mshopping_and_dining\u001b[00m\n",
      "    ├── \u001b[01;34msports_and_leisure\u001b[00m\n",
      "    ├── \u001b[01;34mtransportation\u001b[00m\n",
      "    ├── \u001b[01;34munclassified\u001b[00m\n",
      "    ├── \u001b[01;34murban\u001b[00m\n",
      "    └── \u001b[01;34mwork_place\u001b[00m\n",
      "\n",
      "22 directories, 0 files\n",
      "Reformulated ADE20K data with Cityscapes format\n",
      "\u001b[01;34m./ade20k_with_cityscapes_format\u001b[00m\n",
      "├── \u001b[01;34mgtFine\u001b[00m\n",
      "│   └── \u001b[01;34mvalidation\u001b[00m\n",
      "├── \u001b[01;34mleftImg8bit\u001b[00m\n",
      "│   └── \u001b[01;34mvalidation\u001b[00m\n",
      "└── meta.json\n",
      "\n",
      "4 directories, 1 file\n"
     ]
    }
   ],
   "source": [
    "print(\"Original Cityscapes data format\")\n",
    "!tree -L 2 ./ADE20K_2021_17_01/images/ADE\n",
    "\n",
    "save_path = \"ade20k_with_cityscapes_format\"\n",
    "ade20k_val_dataset.export(save_path, \"cityscapes\", save_media=True)\n",
    "\n",
    "print(\"Reformulated ADE20K data with Cityscapes format\")\n",
    "!tree -L 2 ./ade20k_with_cityscapes_format"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "datum",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.16"
  },
  "orig_nbformat": 4
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
